package com.marion.jpa.service;

import com.marion.jpa.entity.TUserEntity;
import com.marion.jpa.query.UserSearchQuery;
import com.marion.jpa.query.UserSearchQuery002;

import java.util.List;

/**
 * @author Marion
 * @date 2022/3/2 14:51
 */
public interface UserService {

    TUserEntity findById(long id);

    List<TUserEntity> findAllByPage();

    List<TUserEntity> searchUser(UserSearchQuery query);

    List<TUserEntity> searchUser001(UserSearchQuery query);

    List<TUserEntity> searchUser002(UserSearchQuery002 query);

    List<TUserEntity> searchUser003(UserSearchQuery query);

    List<TUserEntity> searchUser004(UserSearchQuery query);

    List<TUserEntity> searchUser005(UserSearchQuery query);
}
